<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>用户体系</title>
    <style>
      /* 自定义nprogress颜色 */
      #nprogress .bar {
        background-color: #4195e9 !important;
      }
    </style>
    <script>
      function setRem() {
        var ui_w = 1920,
          baseSize = 100;
        // 屏幕宽度
        var clientWidth = document.documentElement.clientWidth || document.body.clientWidth;
        document.getElementsByTagName('html')[0].style.fontSize = (clientWidth / ui_w) * baseSize + 'px';
      }
      window.onload = setRem();
      window.addEventListener('resize', () => {
        setRem();
      });
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
